package com.quizzer.system.dto.question.subject;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 大类别查询 DTO
 * 用于按条件查询大类别信息，可选分页
 *
 * @author rong
 * @date 2025/10/7 18:20
 */
@Data
@ApiModel(description = "大类别查询 DTO")
public class SubjectQueryDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "大类别ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "大类别名称，例如Java、计算机基础", example = "Java")
    private String name;

    @ApiModelProperty(value = "类别描述", example = "Java相关课程题目")
    private String description;

    @ApiModelProperty(value = "大类别图片地址，例如封面图", example = "https://example.com/java.jpg")
    private String imageUrl;

    @ApiModelProperty(value = "排序字段，数值越小越靠前", example = "1")
    private Integer sort;

}
